#include <stdlib.h>
#include <stdio.h>
int main(void)
{float f;
 char *str = "12345.67";
 f = atof(str);
 printf("string = %s float = %f\n", str, f);
 return 0;
 }
